CMP#.SOURCE

Description

CMP#.SOURCE selects the input source for the compare channel. Allowable values depend on the connectors and axis count for the drive model.

Value

Feedback source

1 (default)

Feedback 1 position (FB1.P)

2

Feedback 2 position (FB1.P)

3

Feedback 3 position (FB1.P)

4

Feedback 4 position (FB1.P)

5

Feedback 5 position (FB1.P)

6-10

Reserved for future feedbacks

11

Axis 1 position (AXIS1.PL.FB)

12

Axis 2 position (AXIS2.PL.FB)

Changing CMP#.SOURCE while the compare channel is running results in indeterminate behavior.

Examples

Usage

Code

The following commands set the source of channel 1 to FB3.P and channel 2 to AXIS1.PL.FB.

--> CMP1.SOURCE 3
--> CMP2.SOURCE 11

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read/Write

Units

N/A

Range

1 to 12 subset

Default Value

1

Data Type

Integer

See Also

 

Stored in Non-Volatile Memory

Yes

Variants Supported

All variants are supported.

Fieldbus Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

CMP1.SOURCE

4500h

03h

Unsigned8

-

-

Read/Write

No

CMP2.SOURCE

4501h

03h

Unsigned8

-

-

Read/Write

No

EtherNet/IP

Name

ID

Hex

Data Type

Access

Units

CMP1.SOURCE

31360

7A80

Unsigned8

Read/Write

-

CMP2.SOURCE

31361

7A81

Unsigned8

Read/Write

-

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.SOURCE

31360

Unsigned8

Read/Write

-

CMP2.SOURCE

31361

Unsigned8

Read/Write

-